package com.an.blog.mapper;

import com.an.blog.admin.domain.BlogArticleTag;
import com.an.blog.admin.domain.vo.BlogArticleTagVo;
import com.an.blog.web.domain.vo.BlogArticleTagNameVo;
import com.an.common.core.mapper.BaseMapperPlus;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章标签中间Mapper接口
 *
 * @author Ann
 * @date 2023-05-08
 */
public interface BlogArticleTagMapper extends BaseMapperPlus<BlogArticleTagMapper, BlogArticleTag, BlogArticleTagVo> {

    /**
     * 查询标签列表
     *
     * @return {@link List }<{@link BlogArticleTagNameVo }>
     * @author: Ann
     * @createDate: 2023/05/26 22:39:43
     * @version: 1.0.0
     */
    List<BlogArticleTagNameVo> selectTagList(@Param(Constants.WRAPPER) Wrapper wrapper);
}
